import { useState } from 'react'
import { WithCounter } from './WithCounter'

const ClickCounter = (props: any) => {
  return (
    <div>
      <button onClick={props.incrementCount}>点击{props.count}次</button>
    </div>
  )
}
export default WithCounter(ClickCounter)
